package is.ru.honn.rumblr.data;


import is.ru.honn.rumblr.domain.User;
import is.ruframework.data.RuDataAccess;

import java.util.List;

/**
 * @author Stefan Gunnarsson
 * @Version 0.1 aplha
 */
//Read UserData for details on each of the functions listed here
public interface UserDataGateway extends RuDataAccess
{
    public void addUser(User user);
    public User getUser(String username);
    public List<User> getUsersThatIFollow(String username);
    public List<User> getUsersThatFollowMe(String username);
    public void addFollower(User follower, User follows);
}
